package com.tinyframework.saas.employee.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.tinyframework.common.support.pojo.AbstractObject;

/**
 * 
 * @author Jh
 * @since 2021-09-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("assassin_performance_distribution_extra_reward")
public class PerformanceDistributionExtraRewardDO extends AbstractObject {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 类型
     */
    @TableField("type")
    private Integer type;

    /**
     * 员工id
     */
    @TableField("employee_id")
    private Long employeeId;

    /**
     * 岗位id
     */
    @TableField("post_id")
    private Long postId;

    /**
     * 岗位名称
     */
    @TableField("post_name")
    private String postName;

    /**
     * 岗位等级id
     */
    @TableField("post_level_id")
    private Long postLevelId;

    /**
     * 岗位等级名称
     */
    @TableField("post_level_name")
    private String postLevelName;

    /**
     * 总金额
     */
    @TableField("total_amount")
    private BigDecimal totalAmount;

    /**
     * 比例
     */
    @TableField("proportion")
    private BigDecimal proportion;

    /**
     * 奖励金额
     */
    @TableField("reward_amount")
    private BigDecimal rewardAmount;

    /**
     * 是否门店员工
     */
    @TableField("is_store")
    private Integer isStore;

    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;

    @TableField("gmt_create")
    private Date gmtCreate;

    @TableField("gmt_modified")
    private Date gmtModified;



}
